package com.hfut.eeg.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author 梁琦
 * @program: eeg
 * @Package com.hfut.eeg.properties
 * @Description: 总的配置类
 * @date 2019-11-12 16:09
 */
@Component
@PropertySource("classpath:application.yml")
@ConfigurationProperties(prefix = "hfut.security")
public class SecurityProperties {
    private BrowserProperties browser = new BrowserProperties();

    public SecurityProperties(BrowserProperties browser) {
        this.browser = browser;
    }

    public SecurityProperties() {
    }

    public BrowserProperties getBrowser() {
        return browser;
    }

    public void setBrowser(BrowserProperties browser) {
        this.browser = browser;
    }
}
